added edit capabilities for editor role