updated account functionality