update libs, small fixes