save button works just edit doesn't work now