Updated the udate method to not use the objectId