Update CoA attributes and set session id length as a param