save code with new palette title