Updating class