Implemented new version of update_artifacts