add database name to url