Upgrade libs
Format codes