update bending angles