Keeping urlid along with the url and added modified view code in db scripts.