Update according to the new template

1. Update the code format
2. Update the reference specification