Implemented purchase tab updating when new item is added to the
warehouse