Update weeklytask logic