attempt fix on update fn