transactions updated to include create and write, set db version
includes return value