Changed insert query for urls table