update library common header for new context object
v 5.0.3