updates for loading pictures