working on dynamic updates