update branch to match newest libG changes