Update using rawquery added for activities