update back to previous state