#386 Changed update source selection
#386 Added exists check for removing dbpatch table