Medusa application patch structure updated

Now it includes the send state patch