update prolog associatives