added helper method so its easy to update the requiements by passing some JSON text