inline updating an item