update imports and fix get record id