update_library(true); update_option('adv_vis_ele_library_info_new', $library->library_info); flush_rewrite_rules(); } }