implemented edit action in restaurants controller