update for 640 and 960