move bulk update helper to helper.py