update addmed

update addmed layout and dynamic button