adding feature to edit pics