copy temp to master