update libraries and restore normalise