put method has optional parameters