Moved rupee balance code to a method.
Started work on adding new "update_log" table.