correction for url update and check function