bulk update and cleanup