respect update references checkbox
fix #777
respect the Update References checkbox