method input must be updated when account is changed