updated animation speed.