fixed updating issue