Feature/issue 21 update to summer 14 v31 api

closed #21