update animation and structure