added custom meta fields and updated some framwork codes