added functionality to edit restaurants, test passed