update
update
pass a array to directive