persist rating state
Merge pull request #3 from satinjeet/trigger

persist rating state