update simple looping