Added update stuff for AP and fixed some redirects