Update Controller.java

adding update to controller that sets the aggregate of studies in controller