update to sg-0.16.5