update to latest REngine changes