update

add support for function in tables