Update api timeout