update alarm and text library

Signed-off-by: Fuang.Cao <cavan.cfa@gmail.com>