adding id into update_email_template call