general update - invert, det, scalar added