updated open, unlock and lock to function on the new item class