updating slider file