update to attachment