mark task as completed