fixed double update
changed edit form submit handler