better logic about when to update screenshot/url