fixed typo on url updating