mark.erb template updated