fixed add new restaurant and update restaurant