update loops for all layers sprite moves forward