update ribbon animation