update custom adapter