update function documentation format