Added edit item functionality for manager