Update copyright
Reformat code