update primefaces theme.
refactor entity services.