updating market engine