Update edit cookie call to top of page