Update item detail in database.