Upates for class