update rotation library