Fixed scoping issue in update/delete methods for item