completed the wp_ajax_pc_ajax_update_settings ajax request. User can now set the on publish setting via the admin management page