Could not find code for updating a dashboard setting

I want to limit the number of characters in each input fields when requesting for updating the dashboard. I have already changed that in frontend and now i want to work for it in backend too, I have tried my best to find the code which deals with updating the dashboard in backend. If possible please show me the code for it Thank you