updating Model generic class and thyemeleaf processor Select