changed url from default_url to the url stored in the database