fix bug of update_url filter