Auto rename based on expression


Any idea how I can bind the doctype name with some fields? I am currently naming one of my doctype based on an expression.

But if after the document is created I update one of the field the document name is not updated.
What would be the best way to do so?
Thanks for your help