update hint library and minor corrections