added direct editing feature from CMS1 into this example