updated frontend template