Now the edit buttons on the detail-page work as well