updated project thumb function