all input parameters are optional for PUT method

This PR fixes logic for PUT method that was used in the bundle.
Don't have time for tests, sorry