Finished edit functionality