Implement Apply Db