update slide numbers and images