update xml , rotation and blend