only update if it exists