fixed edit restaurant
fixed backend issues for put requests