wrote submit code
update header and wrote footer inc