library updates and nicer config