refactored account_history#amount= method
updated ruby version