update to new factorie