update documentations
format code