updating object to enhance data capture for buttons