add and completed status update for tasks