Enhancements in externadatabase helper