update custom post