Amend or extend a planning permit