update dailing function