updates to entry insert/update functions