added edit to server