udate
functions now return type str for both python 2 and python 3
basic test