added uuid generator for uid field