UPDATE implementation
close #21
advance #20