updating usage code