update profile and cert; convert to night mode