Updated to new ionic