[code] add basic bulk action support