update edit and save