added code so that the addition of entry is pick up by the main model