update constants file