issue #7 adding the edit property to the data base