removed unused functions
update accounting.account properly