Update image building script