added spiral update