Update classes variables