update using intent