added overwrite support for upload widget, close #45