Update clients.js - add edit mode;

change dao and controller levels;