functional cell updating :)