modify a litter heartbeating function