updated build action hook