When adding data, add project if it does not exist.