updated build rules