add ajax functionality for updating item pivot data