modifyAccount method implemented