support single index for assign
fix assign with single value
revert back term as immutable, as there is assign operation for it