added ability to edit panel for admin