Update mnist database