Refreshing data everytime insert a new value into database.