update image & animation speed