Update drawPic functions

Update drawPic functions