Editing works. Working on AJAX