update to use version 1.2 of emrapi