update display when inserting new entry to db