update libraries and changed some todo stuff