handling updating