Update api improvement