fixed updating ASTs on a rename