CMSC128 insert and update module