Issue #1: modified updatea script