Changes for AJAX save and updates