Updating code inline with sync changes. (wip)
Need to append current action to the list of unresolved actions fetched from sync.