The “Story Points total” are editable only on a user story level. Story points entered at task level are not considered for sum up at top level. The “Story points done” are automatically calculated based on the status of the story i.e
That is if the status of a story = 'Done'
then
Story points done = Story points total
Else
Story points done = 0
Also, once the story is marked 'Done' editing is dis-allowed