add updatelayer methods
add state 'works'