add libraries and update a bit