add coverage and test to update script