update function comment