Added the edit method for collectors