updated api with new fields