Refresh engine in the controller now uses the entityManager's refresh.