update to match current contents of lib/constants.js