update library, and update orientation label