update

-fixed record type class casting
-getting record for printing (for ros)