fix cube update