update main template with custom message on no space validation