updating public controller and service classes for picture