updated RavenHandler