more fixes - actually storing updated accounts, $id -> id