adding feature to edit pictures