update homecontroller