add upload dictionary functional