update size decimal
update active function