Add patch and put support