Fix lots of bugs and add update CPTs from footer