Move this line before the call to `update_workspace()`, right after the call to `save_project()`.