remove redundant update fn