update

add a new format method