update url
cleanup code