Update database.yml.template for deployment