update for pillow