Update before starting animation