added method to change values of the associated attribute record(table)