Fix project stats not updated