add counter
delete files don't use and update image