update slide number bug