Implement save and edit connection