null ponter Exception when update issue fixed.