Updated to latest version of Realm