Update animation speed