update custom activity