fixing update scripts