fix database url for staging config