update animtion