Added a method for getting model attributes changed since last sync