fix wrong next update defining