merge tasks and statuses