player attributes update on inventory change