add publish method for restaurant