add the update function to manage the static data