Update functions
Signed-off-by: Jose Luis <josedelaranda@gmail.com>