Update emma and build file