added edit on the server