updating thumbnail image