Updated inventory functions