Fix account update. Fixes #4