update red to separate copy aand build