update database yml and deploy script