transaction return works

changed to UPDATE not INSERT