update mark as complete method