updated capistrano and database connection