Added functionality for editing clients.