modify bag