This line will remove what was just added.
Would be ok if you first manage "oldProjectData" then the new data.