update custom authorize