update: functions now work with Task object

Signed-off-by: Adrian Matejov <a.matejov@centrum.sk>