update constatns in APIs