update to match latest domify, closes #4