Update uploadify function