add update url when click something but not refresh page