fixed pic overwrite problem, edit listing is done except for updating  pics