update funtion url