update mob and player animation