updated models to know about shortened URLs