Changing details for a class