BRANCH 4.2-DEV: added ability to set sync to a transaction