upd setting element's attributes
add Path element