Added before_update hook in model js
Updated version file