update index and slides pages