update back and forth