change the method of add restaurant