changing search return and database connection for staging