check if image changed before updating proof
Merge pull request #47 from akshatpradhan/fix#46

check if image changed before updating proof