Edit is now functional, but needs integration with frontend