bug with updating on orientation changing fixed