database update and final tweaks to deploy