update picture class