update short function