update for auto size pic