updated enum type and created new enum for url_type to long id and the
appropriate reverse lookup.