fix updating process