changes account update  & adds prune test