more changes on the controller for updating pharmacy details