optimised update library