updated code to new ignis version.