Apply shadowdb