update to fix codepainter