update go types to reflect model