updating goblin's attacking animation