adding feature to edit picutes