added edit in place directive