change status to complete