update base repo validation, eloquent post post edit and delete and tinymce url image handlre