changes database after beanstalk rebuilt