update facories file