updating todo with tasks