update comments func added