updates constants and lib links