add configs and update header