updates to controller