sql sp updates to use UUID() instead