Updated to new post functions