update task hash file