create ignore and update img