update cr_press set template_id = (select template_id from press_templates where template_name='Default') where template_id = :template_id delete from press_templates where template_id = :template_id