fix bad callback when updating project after save as

Fix for #4458.