Revaluation bug fixed

In this new version all the API changed lot. Revaluation bug fixed.