implemented animations for updateData