change status to valid