update pictures size