update code format