update database for url key