fixed updating points