updating parallax effects