Updating the Send form function