edit pic to local