updated ui working on modal