Update loadPic.cpp