refactor + update on prestaconfig