update url and parent