updates for realm