Updating panel size & adding php