abstracting hash update method to controller class
updating css