trying to automate the update