Switch frontend to the new API