updated to jersey 2