updating palette

needs to set up intermediate rep after load