added unit template selection when submitting a unit