remove tmp files and update ignore file