Function for incremental update.