implemented UPDATEs statement