update of populate model for radios input
Merge pull request #126 from matthieu-grigis/master

populateModel function