switch to database url