changed database comparison field from id to project